package com.example.mq.service;
/*
@description:
@ClassName IdempotentService
@author chen
@create 2025-08-22 16:26
@Version 1.0
*/

public interface  IdempotentService
{
    /*
     * @param idempotentKey
     * @==============History===============<br/>;
     * @Description // 幂等处理方法
     * @Date 2025/8/22
     * @Author < a href="chencheng@prmt.net">chen</ a>;
     */
    int idempotent(String idempotentKey, Runnable r);
}
